package com.ynet.middleground.riskmanage.bean.rizhaogang;

import javax.validation.constraints.NotBlank;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author songyf
 * @description 日照冻结解冻货物
 * @date 2020-10-2115 09:42
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "日照冻结解冻货物请求信息", description = "日照冻结解冻货物请求信息")
public class RzgFreezeUnfreezeReq extends BaseReqObj{

    private static final long serialVersionUID = -7746800644379615080L;

    @ApiModelProperty(value = "货键", notes = "货键", required = true)
    @NotBlank(message = "货键不能为空")
    private String cargokey;
    
    @ApiModelProperty(value = "指令代码（0冻结1解冻）", notes = "指令代码（0冻结1解冻）", required = true)
    @NotBlank(message = "指令代码不能为空")
    private String order;
    
    @ApiModelProperty(value = "冻结（解冻）重量", notes = "冻结（解冻）重量", required = true)
    @NotBlank(message = "重量不能为空")
    private String weight;
}
